package com.huanong.service.impl;

import com.huanong.mapper.AdminMapper;
import com.huanong.pojo.Admin;
import com.huanong.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private AdminMapper adminMapper;
    @Override
    public List<Admin> queryAll() {
        List<Admin> result = adminMapper.queryAll();
        return result;
    }
}
